/*
 * Copyright (c) 2017-2022, Lindenis Tech. Ltd.
 * All rights reserved.
 *
 * File:
 *
 * Description:
 *
 * Author:
 *      xiaoshujun@lindeni.com
 *
 * Create Date:
 *      2022/01/25
 *
 * History:
 *
*/

#ifndef __MPP_THUMB_H__
#define __MPP_THUMB_H__

#ifdef __cplusplus
extern "C" {
#endif

int  mpp_thumb_jpg  (const char * file_path, int thumb_width, int thumb_height, char * thumb_buf, int max_size);
int  mpp_thumb_video(const char * file_path, int thumb_width, int thumb_height, char * thumb_buf, int max_size);
int  mpp_thumb_dir  (const char * file_dir , const char * thumb_dir , int width, int height);

#ifdef __cplusplus
}
#endif

#endif  // __MPP_THUMB_H__

